
#include <BStream>

using namespace BWE;

bool BStream::move(int offset) const
{
	int pos = this->offset();
	return seek(pos + offset);
}
bool BStream::wmove(int offset)
{
	int pos = this->offset();
	return wseek(pos + offset);
}

bool BStream::begin() const
{
	return size() > 0 && offset() == 0;
}
bool BStream::end() const
{
	return size() > 0 && offset() == size();
}

